package com.gy.paidao.main;

import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;

import com.example.mapdemo.R;
import com.gy.paidao.BaseActivity;

/**
 * 作者：gy on 16/5/4
 * 说明：
 */
public class NotifyActivity extends BaseActivity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_notify);
        setViews();
        setDefaultFragment();
    }

    @Override
    protected void initVariable() {

    }

    @Override
    protected void setTitleViews() {

    }

    @Override
    protected void setViews() {

    }

    private void setDefaultFragment()
    {
        FragmentManager fm = getSupportFragmentManager();
        FragmentTransaction transaction = fm.beginTransaction();
        MainNotificationFragment listFragment = new MainNotificationFragment();
        transaction.add(R.id.activity_notify_frame,listFragment);
        transaction.commit();
    }
}
